package com.lagou.novel_db_homework.mapper;

import com.lagou.novel_db_homework.pojo.Sys_region;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface Sys_regionMapper {

    @Insert("INSERT INTO sys_region(region_name, region_code, region_level) VALUES(#{regionName}, #{regionCode}, #{regionLevel})")
    public void insertSys_region(Sys_region sys_region);
}
